package cc.rengu.redp.bizimpl.enums;

/**
 * 业务响应码枚举类
 * Created by 王成 on 2017/6/27.
 */
public enum RespCodeEnum {


    CREATE_INST_MACHNT_INFO_ERROR("ER12BM48","运营中心商户入驻成功，微信或支付宝商户进件失败，需进行第三方商户进件"),
    WECHAT_SET_PATH_OR_APPID_ERROR("ER12BM49","设置微信支付目录或微信APPid绑定失败，请自行设置微信支付目录或绑定APPID"),
    CORE_ACCT_SIGN_ERROR("ER12BM58","商户入驻审核成功，进行账户核心签约失败，需进行核心账户签约"),
    NOT_NEED_CORE_ACCT_SIGN("ER12BM59","该法人行无需进行核心账户签约"),

    NOT_ALLOW_TO_SET_ACCT_INFO("ER12BM61","连锁商户门店且非独立维护，不需要设置结算账户信息"),
    NOT_ALLOW_TO_SET_PROD_INFO("ER12BM62","连锁商户门店且非独立维护，不需要设置产品信息"),

    //基本
    BLACK_LIST_NET_WORD("ES000096","该网址为黑名单商户网址，请重新输入"),
    CHAIN_IS_NULL("ER12BM68","连锁商户不存在，请重新输入"),
    SIGN_INST_IS_NULL("ER12BM69","签约机构不存在，请重新输入"),
    PLAT_INST_IS_NULL("ER12BM70","平台机构不存在，请重新输入"),
    GROUP_INST_IS_NULL("ER12BM71","集团机构不存在，请重新输入"),
    AGENT_INST_IS_NULL("ER12BM72","代理机构不存在，请重新输入"),

    //签约
    BUSINESS_LICENSE_REPEAT("ER12BM74","同一营业执照超过签约上限，不允许再次签约"),

    //结算
    NOT_ALLOW_TO_SET_D0_D1_OF_FEE("ER12BM73","该商户存在特殊费率，不允许设置D0或D1"),
    ACCT_NO_REPEAT("ER12BM75","同一结算账户超过签约上限，不允许再次签约"),
    NOT_TO_ALLOW_WITHDRAWAL_AND_DO("ER12BM76","不允许同时设置D0和提现"),
    NOT_ALLOW_D0_BY_INST("ER12BM63","该法人行不允许设置D0/D1结算"),
    NOT_ALLOW_D0_WITHDRAWAL("ER12BM60","该法人行无垫资户，不允许设置D0/D1结算或提现"),

    NOT_ALLOW_TO_SET_WITHDRAWAL_OF_FEE("ER12BM73","该商户存在特殊费率，不允许开通提现"),
    NOT_ALLOW_WITHDRAWAL_OF_CONDITION("ER12BM64","该商户未达到开通提现要求，需要入驻超过90天，连续交易超过30天"),

    NOT_TO_ALLOW_SET_FEE("ER12BM77","该商户存设置D0/D1或提现，不允许设置特殊费率"),


    /* 系统公共错误 */
    SYSTEM_ERROR("ER129999","系统异常")
    ;
    private String respCode;
    private String respDesc;

    RespCodeEnum(String respCode, String respDesc) {
        this.respCode = respCode;
        this.respDesc = respDesc;
    }

    public String getRespCode() {
        return respCode;
    }

    public void setRespCode(String respCode) {
        this.respCode = respCode;
    }

    public String getRespDesc() {
        return respDesc;
    }

    public void setRespDesc(String respDesc) {
        this.respDesc = respDesc;
    }
}
